﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AddModelField.aspx.cs" Inherits="Manage_Modle_ModelField_AddModelField" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td colspan="2" style="height:10px;"></td>
            </tr>
            <tr>
                <td>
                    字段名称：
                </td>
                <td>
                    <asp:TextBox ID="txtMF_FieldName" runat="server"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" ControlToValidate="txtMF_FieldName" runat="server" ErrorMessage="*必填"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td>
                    显示名称：
                </td>
                <td>
                    <asp:TextBox ID="txtMF_FieldLabel" runat="server"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" ControlToValidate="txtMF_FieldLabel" runat="server" ErrorMessage="*必填"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td>
                    模块：
                </td>
                <td>
                    <asp:DropDownList ID="ddlMF_Model" runat="server">
                        <asp:ListItem Text="投票" Value="VOTE"></asp:ListItem>
                        <asp:ListItem Text="下载" Value="DOWN"></asp:ListItem>
                        <asp:ListItem Text="招聘信息" Value="POSITION"></asp:ListItem>
                        <asp:ListItem Text="产品" Value="product"></asp:ListItem>
                        <asp:ListItem Text="友情链接" Value="LINK"></asp:ListItem>
                        <asp:ListItem Text="新闻" Value="NEWS"></asp:ListItem>
                        <asp:ListItem Text="留言" Value="GUESTBOOK"></asp:ListItem>
                        <asp:ListItem Text="基本信息" Value="INTOR"></asp:ListItem>
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td>
                    显示状态：
                </td>
                <td>
                    <asp:RadioButtonList ID="rblMF_DisplayFlag" runat="server" RepeatColumns="2">
                        <asp:ListItem Text="隐藏" Value="0"></asp:ListItem>
                        <asp:ListItem Text="显示" Value="1" Selected="true"></asp:ListItem>
                    </asp:RadioButtonList>
                </td>
            </tr>
            <tr>
                <td>
                    
                </td>
                <td>
                    <asp:RadioButtonList ID="rblMF_MustField" runat="server" RepeatColumns="2">
                        <asp:ListItem Text="可选项" Value="0" Selected="true"></asp:ListItem>
                        <asp:ListItem Text="必选项" Value="1"></asp:ListItem>
                    </asp:RadioButtonList>
                </td>
            </tr>
            <tr>
                <td>
                    字段内容：
                </td>
                <td>
                    <asp:TextBox ID="txtMF_FieldInfo" runat="server" TextMode="MultiLine" Height="200" Width="400"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    排序：
                </td>
                <td>
                    <asp:TextBox ID="txtMF_Order" runat="server" Text="99"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator4" ControlToValidate="txtMF_Order" runat="server" ErrorMessage="*必填"></asp:RequiredFieldValidator>
                </td>
            </tr>            
            <tr>
                <td colspan="2" style="height:10px;"></td>
            </tr>
            <tr>
                <td colspan="2" align="center">
                    <asp:Button ID="btnAdd" runat="server" Text="新增" OnClick="btnAdd_Click" />
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
